package com.it.web.model.dto.search;

import com.it.common.model.BasePageQuery;
import io.swagger.annotations.ApiModel;
import lombok.*;
import javax.validation.constraints.NotBlank;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "文章搜索")
public class SearchArticlePageListDto extends BasePageQuery {

    /**
     * 查询关键词
     */
    @NotBlank(message = "搜索关键词不能为空")
    private String word;
}
